/*
 *  Sub.hpp
 *  Sub
 *
 *  Created by user on 16/12/30.
 *
 *
 */

#ifndef _Sub_H
#define _Sub_H

#ifdef WIN32
    #ifdef SUB_EXPORTS
        #define SUB_API __declspec(dllexport)
    #else
        #define SUB_API __declspec(dllimport)
        #pragma comment (lib, "Sub.lib")
    #endif // End of SUB_EXPORTS
#else  // End of WIN32
    #ifdef __GNUC__
        #if (__GNUC__ >= 4)
            #define SUB_API __attribute__((visibility("default")))
        #else
            #define SUB_API
        #endif
    #else
        #define SUB_API
    #endif
#endif


class Sub
{
public:
    Sub();
    
    ~Sub();
    
    int Minus(int a, int b);
};

//#pragma GCC visibility pop
#endif
